package com.ssm.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (ElcInfotype)实体类
 *
 * @author makejava
 * @since 2021-06-01 10:37:32
 */
public class ElcInfotype implements Serializable {
    private static final long serialVersionUID = -14217938898762099L;
    /**
     * 信息类型id
     */
    private Integer id;

    private Integer info_type_id;

    public Integer getInfo_type_id() {
        return info_type_id;
    }

    public void setInfo_type_id(Integer info_type_id) {
        this.info_type_id = info_type_id;
    }

    /**
     * 信息类型
     */
    private String typeName;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    /**
     * 是否启用码
     */
    private Integer isEnable;

    /**
     * 客户id
     */
    private Integer dpid;


    private Integer user_id;

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(Integer isEnable) {
        this.isEnable = isEnable;
    }

    public Integer getDpid() {
        return dpid;
    }

    public void setDpid(Integer dpid) {
        this.dpid = dpid;
    }

    @Override
    public String toString() {
        return "ElcInfotype{" +
                "id=" + id +
                ", typeName='" + typeName + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", isEnable=" + isEnable +
                ", dpid=" + dpid +
                '}';
    }
}
